﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SLIITPro.Core;

namespace SLIITPro.Controls
{
    public partial class MailTemplate : System.Web.UI.UserControl, IMailTemplate
    {

        public string UserName
        {
            get { return lblUserName.Text; }
            set { lblUserName.Text = value; }
        }

        public string Body
        {
            get { return txtBody.InnerHtml; }
            set { txtBody.InnerHtml = value; }
        }

        public string UrlMessage
        {
            get { return lblURLMessage.Text; }
            set { lblURLMessage.Text = value; }
        }

        public string UrlNavigation
        {
            get { return lnkURLNevigation.NavigateUrl; }
            set { lnkURLNevigation.NavigateUrl = value; }
        }

        public string UrlText
        {
            get { return lnkURLNevigation.Text; }
            set { lnkURLNevigation.Text = value; }
        }
    }
}